<template>
	<view class="technicalDetail">
		<image :src="dataHtml.head_pic" mode="widthFix"></image>
		<view class="technicalDetail-plate-1">
			<image src="../../../../static/jiandingmiaozhao.png" mode=""></image>
			<text>{{dataHtml.information_title}}</text>
		</view>
		<view class="technicalDetail-plate-2">
			<u-parse :html="dataHtml.information_content"></u-parse>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				id:0,
				dataHtml:''
			};
		},
		onLoad(option) {
			this.id = option.id
			this.getDetail()
		},
		created() {
		},
		methods:{
			// 请求详情
			getDetail(){
				uni.request({
				    url:this.$Url +'/index.php/app/Authentication/authenSkillDetail',
				    method:'POST',
				    data:{
				       authen_coup_id:this.id
				    },
				    header:{
				        "token":uni.getStorageSync('token')
				    },
				    success: (res) => {
						if (res.data.status == 200) {
							this.dataHtml = res.data.data
						} else{
							uni.showToast({
								title:res.data.msg,
								icon:'none',
								duration:1200
							})
						}
				    }
				})
			}
		}
	}
</script>

<style lang="scss" scoped>
.technicalDetail{
	width: 100vw;
	min-height: 100vh;
	background-color: #fff;
	>image{
		width: 750upx;
	}
	.technicalDetail-plate-1{
		margin-top: 50upx;
		display: flex;
		align-items: center;
		padding-left: 30upx;
		image{
			width: 112upx;
			height: 105upx;
			margin-right: 30upx;
		}
		text{
			font-size: 34upx;
			color: #333;
		}
	}
	.technicalDetail-plate-2{
		padding: 0 30upx;
		margin-top: 50upx;
	}
}
</style>
